package com.yuantu.judiciary.dao;

import com.yuantu.judiciary.model.domain.MembershipCardDO;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 认证信息
 *
 * @author syw
 * @since 2023-08-16
 **/
public interface IMembershipCardDao extends JpaRepository<MembershipCardDO, Long> {


    List<MembershipCardDO> findInfoByCardTypeAndIsDeletedFalse(Integer cardType);

    MembershipCardDO findInfoByIdAndIsDeletedFalse(Long id);
}
